import service from "../utils/service";
//获取用户档案列表
export const getUserList=(data)=>service({url: `user/getUserList`, method: "post",data})
//添加用户
export const addUser=(data)=>service({url: `user/addUser`, method:"post",data})
//删除用户
export const editUser=(data)=>service({url: `user/editUser`, method:"post",data})
//修改用户
export const deleteUser=(params)=>service({url: `user/deleteUser/`+params.id, method:"get",params})
